package cn.com.dcsgo.mapper;

import cn.com.dcsgo.pojo.Teacher;

/**
 * TeacherMapper
 *
 * @author Dcsgo
 * @since 2025/2/21 11:01
 */

public interface TeacherMapper {
    Teacher queryById(String id);

    /**
     * 非自增长主键维护(自己生成)
     *
     * @param teacher teacher
     * @return int
     */
    int addOne(Teacher teacher);

    /**
     * 非自增长主键维护(mybatis维护)
     *
     * @param teacher teacher
     * @return int
     */
    int insert(Teacher teacher);
}
